home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 3 / Cream of the Crop 3.iso / utility / xset402.zip / WHATSNEW < prev    next >
Text File  |  1994-03-29  |  9KB  |  332 lines

  1.                              History of XSET
  2.                              ===============
  3.  
  4. Version 4.02
  5. ============
  6.                      
  7.   Changes:
  8.   -------
  9.    - DIFFDATE   also allows 4 digits years (94, 1994, ...)
  10.  
  11.  
  12.   New functionalities:
  13.   -------------------
  14.  
  15.     - XSET handles the special case of  the  variable  'windir'  created  in
  16.       Windows DOS boxes that you normally cannot use.
  17.       
  18.     
  19.   Bug corrections:
  20.   ---------------
  21.  
  22.    - ERRORLEVEL return was wrong for MS-DOS 6.0
  23.    - some problems dedicated to demo version in some very particular
  24.      configurations 
  25.  
  26.  
  27.  
  28. Version 4.00
  29. ============
  30.                      
  31.   Changes:
  32.   -------
  33.    - ERRORLEVEL is PC-DOS 6.1 and MS-DOS 6.2 compatible
  34.  
  35.    -  /TIMEOUT  n 
  36.       Line input: If n < 0, time-out will be active during the  whole  input
  37.                   process; if you wait more than abs(n) seconds between  two
  38.                   keys, the program will return the string typed so far.
  39.       KEY input: the program will return after  the  specified  time  if  no
  40.                  valid key was hit.
  41.                  ^^^^^
  42.                      
  43.   New functionalities:
  44.   -------------------
  45.  
  46.     - /SEPARATOR string       
  47.       This uses the characters from 'string' as word separator.
  48.       This option is intended to be used with /WORD and /COUNT.
  49.  
  50.     - RANDOM n1 n2
  51.       This generates a random integer number between n1 and n2.
  52.  
  53.  
  54.  
  55. Version 3.50
  56. ============
  57.                      
  58.   New functionalities:
  59.   -------------------
  60.  
  61.   This version now fully supports full edition of input lines.
  62.   
  63.     Valid keys:   Home         Begin of line
  64.                   End          End of line
  65.                   Left/Right   One character left/right
  66.                   Insert       Toggle isert on/off
  67.                   Delete       Delete current  character
  68.                   BackSpace    Delete previous character
  69.                   Ctrl-home    Erase to begin-of-line
  70.                   Ctrl-end     Erase to end-of-line
  71.                   Escape       Erase whole input
  72.                   Enter        Accept input
  73.   
  74.   
  75.   /DEFAULT       set current value as default for the input prompt
  76.   
  77.   /TIMEOUT n     breaks the input if no key was hit after n seconds
  78.   
  79.   /COLOR  <color>       change prompt color
  80.          valid colors = BLACK BLUE GREEN CYAN RED MAGENTA BROWN DARKGRAY
  81.                         LIGHTGRAY LIGHTBLUE LIGHTGREEN LIGHTCYAN LIGHTRED
  82.                         LIGHTMAGENTA YELLOW WHITE
  83.                         HIGHLIGHT REVERSE
  84.   
  85.   /BACKGROUND  <color>   will change prompt background color
  86.           valid colors = BLACK BLUE GREEN CYAN RED MAGENTA
  87.                          BROWN DARKGRAY LIGHTGRAY
  88.   
  89.   /BLINK                displays a blinking prompt
  90.   
  91.   /XPOS  x
  92.   Set cursor to column x (or current - abs(x) if x < 0) before displaying prompt.
  93.  
  94.   /YPOS  y
  95.   Set cursor to line y (or current - abs(y) if y < 0) before displaying prompt.
  96.  
  97.   /WINDOW  left top right bottom
  98.   Draw a window (using color specified with /BACKGROUND).  
  99.  
  100.   /BOX
  101.   Draw a window around the prompt .
  102.  
  103.   /BORDER
  104.   Add a border inside a window (specified with /WINDOW or /BOX).
  105.  
  106.   CPU     returns processor type (86, 186, 286, 386 or 486)
  107.   
  108.   VOLLABEL   returns the volume label of a disk
  109.   
  110.   DRIVETEST  tests if a disk drive is readable, writeable, invalid,
  111.              remote, removable, ram disk, subst, ...
  112.   
  113.   /LINE      accepts both positive and negative arguments:
  114.               1   will read first line 
  115.               2   will read second line 
  116.              -1   will read the last line,
  117.              -2   will read the line before, ...
  118.                 
  119.   XSET variable:   
  120.        Before scanning the command line, the XSET program  will  look  for
  121.        the 'XSET' variable into the current DOS environment. If it exists,
  122.        the XSET program will use the variable contents like  option  flags
  123.        you would have given onto the command line. After it will  use  the
  124.        option flags given onto the command line.
  125.              
  126.   XSET_MSG variable:
  127.        Assigned by the XSET program itself to specify special events.
  128.   
  129.   
  130.   Changes:
  131.   -------
  132.    - FTIME also returns seconds (hh:mm:ss)   
  133.    - ERRORLEVEL is MS-DOS 6.0 compatible
  134.    - /MATH accepts hexadecimal numbers followed by H
  135.    - /MATH accepts power expression ( x^y )
  136.    - KEY also returns non-printable characters as their decimal ASCII 
  137.          code preceeded by a '#'.
  138.    - /REGEXP accepts a new special character '?' matching 'zero or one time'.
  139.  
  140.  
  141.   Bug corrections:
  142.   ---------------
  143.  
  144.    - This version now fully supports non standard mode like 30 or 60 lines.
  145.    - bug fix in function FEXT when no extension in filename.
  146.    - XSET did not recognize empty strings on command-line ("").
  147.   
  148.  
  149.                   
  150.  
  151. Version 3.00
  152. ============
  153.  
  154.   Completely new interface to allow several operations in one shot.
  155.   
  156.   ex: XSET/LOWER /PROMPT "Enter a filename: " FPATH
  157.  
  158.   Type XSET /? to get the full description of all functionalities.
  159.  
  160.  
  161.  
  162. Version 2.60
  163. ============
  164.  
  165.         New commands added:
  166.  
  167. XSET /VIEW var   will show content of variable 'var'
  168.  
  169. This command is useful to use variables longer than 128 characters.
  170.  
  171. You can exit the help screen at any time by hitting Escape or Ctrl-C.
  172.  
  173.  
  174.  
  175. Version 2.50
  176. ============
  177.  
  178.         New commands added:
  179.  
  180. XSET /VIEW   display all environment variables
  181.  
  182.  
  183.  
  184. Version 2.40
  185. ============
  186.  
  187.         New commands added:
  188.  
  189. XSET /SIZE   display environment size and free size (in bytes).
  190.  
  191.         Bug correction:  bug fix in function DIFFDATE.
  192.  
  193.  
  194.  
  195. Version 2.30
  196. ============
  197.  
  198.         New commands added:
  199.  
  200. Commands    Arguments    Action and value assigned to <dosvar>
  201. --------    ---------    -------------------------------------
  202. DIFFDATE    date1 date2  number of days between date1 and date2 (date2 - date1)
  203.                          date format may be 'dd-mm-yy' or 'yymmdd'
  204.                          (may also be mixed)
  205.  
  206.         Bug correction:  WORD 1 sometimes returned wrong result.
  207.  
  208.  
  209.  
  210. Version 2.20
  211. ============
  212.  
  213.         New commands added:
  214.  
  215. Commands    Arguments    Action and value assigned to <dosvar>
  216. --------    ---------    -------------------------------------
  217. YYMMDD                   system date in 'yymmdd' format
  218. VARCOPY     variable     contents of DOS environment variable 'variable'
  219.  
  220. XSET /CLEAR   will clear delete all variables from environment\r\n\n"
  221.  
  222. XSET /LOAD    will load variables from standard input.
  223.               variables must have been saved with command 'SET'
  224.               ex:   save variables with 'SET > SAVEFILE.VAR'
  225.                   reload variables with 'XSET /LOAD < SAVEFILE.VAR'
  226.  
  227.  
  228.  
  229.         Enhancements:
  230.  
  231. Function 'PASSWD' accepts up to 127 characters
  232.  
  233. Function 'MATH'   accepts logical operators '= < > <= >='
  234.  
  235.  
  236.  
  237. Version 2.12
  238. ============
  239.  
  240.         Bug correction:  file functions returned TRUENAME.
  241.  
  242.  
  243.  
  244.  
  245. Version 2.11
  246. ============
  247.  
  248.         Bug correction: the BYTEFREE command was sometimes return -1.
  249.  
  250.  
  251.  
  252.  
  253. Version 2.10
  254. ============
  255.  
  256.         New commands added:
  257.  
  258. Commands    Arguments    Action and value assigned to <dosvar>
  259. --------    ---------    -------------------------------------
  260.  
  261. ERRORLEVEL  none         errorlevel code of last command
  262.  
  263. BYTEFREE    [drive]      number of bytes free on specified (or current) drive
  264.  
  265. DAYOFWEEK                day in the week ( 0 = sunday,... )
  266.  
  267. CHANGE      s1 s2 {s3}   change <s1> by <s2> in <s3>
  268.  
  269. SEARCH      str1 {str2}  portion of <str1> matching <str2>
  270.  
  271.  
  272. Version 2.03
  273. ============
  274.  
  275.         Bug correction: little problem appearing sometimes
  276.                         with KEY command.
  277.  
  278.         Bug correction: garbage display when no prompt specified
  279.                         with INPUT command.
  280.  
  281.         Bug correction: strange behaviour on certain machines
  282.                         when invoking for the first time the
  283.                         DENSITY command.
  284.  
  285. Version 2.02
  286. ============
  287.  
  288.         Bug correction: all INPUT commands where buggy 
  289.                         (due to a compilation problem).
  290.  
  291. Version 2.01
  292. ============
  293.  
  294.         Bug correction: the command TRUENAME always returned an empty
  295.                         string (due to a last minute change).
  296.  
  297. Version 2.0
  298. ===========
  299.  
  300.         New commands added:
  301.  
  302. Commands    Arguments    Action and value assigned to <dosvar>
  303. --------    ---------    -------------------------------------
  304.  
  305. MIN      ┌{str1...strn}    minimum or maximum of numbers or strings list
  306. MAX      └{num1...numn}    (one string may not contain <space> or <tab>)
  307.  
  308. FPATH       {file}       full pathname of a filename
  309. FDRIVE      {file}       drive of a filename
  310. FDIR        {file}       drive & directory of a filename
  311. FEXT        {file}       extension of a file name (no period included)
  312. FNAME       {file}       name of a file without extension
  313. FXNAME      {file}       name & extension of a file
  314. FSIZE       {file}       size of a file
  315. TRUENAME    {file}       full truename of a file
  316. LINE        n            read the <n>-th line from standard input
  317. STDERR      n            read the <n>-th line from standard error
  318.  
  319.  
  320.  
  321. Version 1.1
  322. ===========
  323.  
  324.         First shareware version.
  325.         
  326.  
  327.         
  328. Version 1.0
  329. ===========
  330.  
  331.         Creation for personal use.
  332.